﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PMS.XCMG.Entity;
using PMS.XCMG.Models;
using PMS.XCMG.Util;

namespace PMS.XCMG.IBusiness
{
    public interface ISys_UserBusiness : IBusRepository<Sys_User>
    {
        Task<Sys_User> LoginAsync(LoginQM data);
        Task<PageResult<Sys_User>> GetPageResultAsync(PageInput<Sys_UserQM> query);

        Task<dynamic> GetUserInfo(string id);
        Task<List<Sys_Menu>> GetUserMenu(string id);
    }
}
